var noicon1=document.getElementById('u313_img');
var notext1=document.getElementById('u311_text');
var yeicon1=document.getElementById('u312_img');
var yetext1=document.getElementById('u310_text');

var noicon2=document.getElementById('u327_img');
var notext2=document.getElementById('u325_text');
var yeicon2=document.getElementById('u326_img');
var yetext2=document.getElementById('u324_text');

var noicon3=document.getElementById('u340_img');
var notext3=document.getElementById('u338_text');
var yeicon3=document.getElementById('u339_img');
var yetext3=document.getElementById('u337_text');

var noicon4=document.getElementById('u351_img');
var notext4=document.getElementById('u353_text');
var yeicon4=document.getElementById('u352_img');
var yetext4=document.getElementById('u354_text');
var switchicon=document.getElementById('u363_img');
var home=document.getElementById('u365_img');
var person=document.getElementById('u364_img');
var edit=document.getElementById('u366_img');

function clickno1(){  
    noicon1.onclick=function(){
        noicon1.style.display="none";
        //  notext1.style.display="none";
        yeicon1.style.display="none";
        yetext1.style.display="none";
         notext1.innerHTML="审核未过,已驳回";
    }
}
function clickiye1(){  
    yeicon1.onclick=function(){
        noicon1.style.display="none";
        //  notext1.style.display="none";
        yeicon1.style.display="none";
        yetext1.style.display="none";
        notext1.style.color="#0D9B1B"
         notext1.innerHTML="审核通过,已发布";
    }
}

function clickno2(){  
    noicon2.onclick=function(){
        noicon2.style.display="none";
        //  notext1.style.display="none";
        yeicon2.style.display="none";
        yetext2.style.display="none";
         notext2.innerHTML="审核未过,已驳回";
    }
}
function clickiye2(){  
    yeicon2.onclick=function(){
        noicon2.style.display="none";
        //  notext1.style.display="none";
        yeicon2.style.display="none";
        yetext2.style.display="none";
        notext2.style.color="#0D9B1B"
         notext2.innerHTML="审核通过,已发布";
    }
}

function clickno3(){  
    noicon3.onclick=function(){
        noicon3.style.display="none";
        //  notext1.style.display="none";
        yeicon3.style.display="none";
        yetext3.style.display="none";
         notext3.innerHTML="审核未过,已驳回";
    }
}
function clickiye3(){  
    yeicon3.onclick=function(){
        noicon3.style.display="none";
        //  notext1.style.display="none";
        yeicon3.style.display="none";
        yetext3.style.display="none";
        notext3.style.color="#0D9B1B"
         notext3.innerHTML="审核通过,已发布";
    }
}

function clickno4(){  
    noicon4.onclick=function(){
        noicon4.style.display="none";
        //  notext1.style.display="none";
        yeicon4.style.display="none";
        yetext4.style.display="none";
         notext4.innerHTML="审核未过,已驳回";
    }
}
function clickiye4(){  
    yeicon4.onclick=function(){
        noicon4.style.display="none";
        //  notext1.style.display="none";
        yeicon4.style.display="none";
        yetext4.style.display="none";
        notext4.style.color="#0D9B1B"
         notext4.innerHTML="审核通过,已发布";
    }
}
function sitichto(){
    switchicon.onclick=function(){
        window.location.href="../html/blogTest.html"
    }
}
function sitichtohome(){
    home.onclick=function(){
        window.location.href="../html/index.html"
    }
}

function sitichtoperson(){
    person.onclick=function(){
        window.location.href="../personalPage/index.html"
    }
}


function sitichtoedit(){
    edit.onclick=function(){
        window.location.href="../html/zjh/blogEdit.html"
    }
}

function init(){
    clickiye1();
    clickno1();
    clickiye2();
    clickno2();
    clickiye3();
    clickno3();
    clickiye4();
    clickno4();
    sitichto();
    sitichtohome();
    sitichtoperson();
    sitichtoedit();
    }
    
    init();
